<?php
class Template {
	protected $_ci;
	function __construct()
	{
		$this->_ci = &get_instance();
	}
	
	function display($template,$data=null)
	{
		$data['_content']=$this->_ci->load->view($template,$data,true);
		$data['_header']=$this->_ci->load->view('admin/template/header',$data,true);
		$data['_left_menu']=$this->_ci->load->view('admin/template/left_menu',$data,true);
		$this->_ci->load->view('admin/template.php',$data);
	}
}

?>